.class public abstract Lcom/brixd/niceapp/activity/AbsBaseActivity;
.super Landroid/support/v4/app/FragmentActivity;
.source "AbsBaseActivity.java"

# interfaces
.implements Lcom/brixd/niceapp/constant/ApiConstants;


# instance fields
.field protected mHandler:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .registers 2

    .prologue
    .line 25
    invoke-direct {p0}, Landroid/support/v4/app/FragmentActivity;-><init>()V

    .line 27
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/AbsBaseActivity;->mHandler:Landroid/os/Handler;

    return-void
.end method


# virtual methods
.method protected getActivity()Landroid/app/Activity;
    .registers 1

    .prologue
    .line 47
    return-object p0
.end method

.method protected getContext()Landroid/content/Context;
    .registers 1

    .prologue
    .line 43
    return-object p0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 4
    .param p1, "bundle"    # Landroid/os/Bundle;

    .prologue
    .line 31
    invoke-super {p0, p1}, Landroid/support/v4/app/FragmentActivity;->onCreate(Landroid/os/Bundle;)V

    .line 32
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->hasSmartBar()Z

    move-result v1

    if-nez v1, :cond_d

    .line 33
    const/4 v1, 0x1

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/AbsBaseActivity;->requestWindowFeature(I)Z

    .line 36
    :cond_d
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/AbsBaseActivity;->getActionBar()Landroid/app/ActionBar;

    move-result-object v0

    .line 37
    .local v0, "bar":Landroid/app/ActionBar;
    if-eqz v0, :cond_16

    .line 38
    invoke-virtual {v0}, Landroid/app/ActionBar;->hide()V

    .line 40
    :cond_16
    return-void
.end method
